#!/bin/sh

path=libbubblesort.a

for file in $(ls *.cpp) ; do
	target=${file%%.cpp}
	g++ $file $path -o $target
	./target
done

